CLP(H): Constraint logic programming for hedges

نویسندگان

  • Besik Dundua
  • Mário Florido
  • Temur Kutsia
  • Mircea Marin
چکیده

CLP(H) is an instantiation of the general constraint logic programming scheme with the constraint domain of hedges. Hedges are finite sequences of unranked terms, built over variadic function symbols and three kinds of variables: for terms, for hedges, and for function symbols. Constraints involve equations between unranked terms and atoms for regular hedge language membership. We study algebraic semantics of CLP(H) programs, define a sound, terminating, and incomplete constraint solver, investigate two fragments of constraints for which the solver returns a complete set of solutions, and describe classes of programs that generate such constraints. To appear in Theory and Practice of Logic Programming (TPLP).

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Constraint Logic Programming for Hedges: A Semantic Reconstruction

We describe the semantics of CLP(H): constraint logic programming over hedges. Hedges are finite sequences of unranked terms, built over variadic function symbols and three kinds of variables: for terms, for hedges, and for function symbols. Constraints involve equations between unranked terms and atoms for regular hedge language membership. We give algebraic semantics of CLP(H) programs, defin...

متن کامل

Effectiveness of Optimizing Compilation for CLP(R)

Constraint Logic Programming (CLP) languages extend logic programming by allowing constraints from diierent domains such as real numbers or Boolean functions. They have proved to be ideal for expressing problems that require interactive mathematical modelling and complex combinatorial optimization problems. However, CLP languages have mainly been considered as research systems, useful for rapid...

متن کامل

An Optimizing Compiler for CLP(R)

The considerable expressive power and exibility gained by combining constraint programming with logic programming is not without cost. Implementations of constraint logic programming (CLP) languages must include expensive constraint solving algorithms tailored to speciic domains, such as trees, Booleans, or real numbers. The performance of many current CLP compilers and interpreters does not en...

متن کامل

Linear Equation Solving for Constraint Logic Programming

Linear constraint solving in constraint logic programming requires in cremental checks of the satis ability of a system of equations and inequali ties Experience has shown that Gauss Jordan elimination and the simplex method are e cient enough to be of practical value in the implementation of CLP languages based on linear arithmetic constraints However these algorithms must be modi ed to accomm...

متن کامل

Redundancy of Variables in CLP (R)

Constraint logic programming (CLP) languages allow natural and concise programming with constraints. In executing CLP languages the cost of constraint solving dominates the time and space considerations, so optimization of constraint solving is of paramount importance. CLP(R) is a constraint logic programming language over real numbers. Typically, in the execution of a CLP(R) program, many vari...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:
  • TPLP

دوره 16  شماره 

صفحات  -

تاریخ انتشار 2016